{__NOLAYOUT__}<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>大拇哥资源共享平台</title>
    <!--视口 不缩放 -->
    <meta name="viewport" content="user-scalable=no,width=device-width, initial-scale=1.0,  minimum-scale=1.0, maximum-scale=1.0">
    <meta name="flexible" content="initial-dpr=1" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <!-- 网页作者 -->
    <meta name="author" content="hg" />
    <!-- 添加到主屏后的标题（iOS 6 新增） -->
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <!-- 是否启用 WebApp 全屏模式，删除苹果默认的工具栏和菜单栏 -->
    <meta name="apple-itunes-app" content="app-id=myAppStoreID, affiliate-data=myAffiliateData, app-argument=myURL">
    <!-- 设置苹果工具栏颜色 -->
    <meta name="format-detection" content="telphone=no, email=no" />
    <!-- 忽略页面中的数字识别为电话，忽略email识别 -->
    <!-- 启用360浏览器的极速模式(webkit) -->
    <meta name="renderer" content="webkit">
    <!-- 不让百度转码 -->
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!-- windows phone 点击无高光 -->
    <meta name="msapplication-tap-highlight" content="no">
    <meta name="msapplication-TileColor" content="#000" />
    <!--<link href="logo.ico" rel="shortcut icon" type="image/x-icon">-->
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <link rel="shortcut icon" href="favicon.ico">
    
    
    <!-- ZUI1.7.0 -->
    <link href="https://cdnjs.cloudflare.com/ajax/libs/zui/1.7.0/css/zui.min.css" rel="stylesheet">
    
    <!-- Swiper -->
    <link href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.4.2/css/swiper.min.css" rel="stylesheet">
    
    <link href="__PUBLIC__/dist/css/mobile.css" rel="stylesheet">

</head>
<body>
<div id="page">
    <!-- Header -->
        <include file="Index:nav" />
    <!-- Header End -->

    <div class="banner"><img src="__PUBLIC__/dist/image/mobile-banner.jpg"></div>

    <!-- 项目列表 start -->
    <div class="container">
        <h2 class="pt-40 mb-20">数据信息</h2>
        <section class="count-box">
            <ul class="clearfix">
                <li><i class="icon-count-gw"></i><p>岗位数：{$data.gangwei}</p></li>
                <li><i class="icon-count-xm"></i><p>项目数：{$data.xiangmu}</p></li>
                <li><i class="icon-count-rw"></i><p>任务数：{$data.renwu}</p></li>
                <li><i class="icon-count-wk"></i><p>微课数：{$data.weike}</p></li>
                <li><i class="icon-count-user"></i><p>会员数：{$data.user}</p></li>
                <li><i class="icon-count-fw"></i><p>访问量：{$data.fangwei}</p></li>
            </ul>
        </section>
        <h2 class="pt-20">访问统计</h2>
        <section class="echarts-box">
            <div id="hy" style="width:1200px;height:300px;"></div>
        </section>
        <section class="echarts-box">
            <div id="fw" style="width:1200px;height:300px;"></div>
        </section>
    </div>
</div>
<i class="goTop"></i>


<script src="//cdnjs.cloudflare.com/ajax/libs/zui/1.7.0/lib/jquery/jquery.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/echarts/4.1.0.rc2/echarts.min.js"></script>
<script src="__PUBLIC__/dist/js/main.js"></script>
<script type="text/javascript">
var myChart = echarts.init(document.getElementById('hy'));
var option = {
    grid: {
        left: '3%',
        right: '4%',
        bottom: '3%',
        containLabel: true
    },
    tooltip: {
        formatter: '{b0} <br />{c0}',
    },
    color: ['#3398DB'],
    tooltip : {
        trigger: 'axis',
        axisPointer : {            // 坐标轴指示器，坐标轴触发有效
            type : 'shadow'        // 默认为直线，可选为：'line' | 'shadow'
        }
    },
    xAxis : [
        {
            type : 'category',
            data : {$data.riqi},
            axisTick: {
                alignWithLabel: true
            }
        }
    ],
    yAxis : [
        {
            name:'用户活跃数（个）',
            type : 'value'
        }
    ],
    series : [
        {
            type:'bar',
            barWidth: '60%',
            data:{$data.huoyue},
        }
    ]
};
myChart.setOption(option);


var myChart2 = echarts.init(document.getElementById('fw'));
var option2 = {
    grid: {
        left: '3%',
        right: '4%',
        bottom: '3%',
        containLabel: true
    },
    tooltip: {
        formatter: '{b0} <br />访问量：<strong>{c0}</strong>次',
    },
    xAxis: {
        type: 'category',
        boundaryGap: false,
        data: {$data.riqi},
        splitLine: {
            show: true
        }
    },
    yAxis: {
        name: "每天访问量（次）",
        type: 'value',
    },
    series: [{
        data: {$data.brower},
        type: 'line',
    }]
};
myChart2.setOption(option2);
</script>
</body>
</html>